Skip to content

Conversation

vil02
Copy link
Member

@vil02 vil02 commented Aug 15, 2025

Description of Change

This PR solves the array index out of bounds problem. When size changes, the array has to be relocated.

Checklist

  • Added description of change
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:
Fix array index out of bounds problem in linear_search.cpp.

@vil02 vil02 force-pushed the fix_arrayIndexOutOfBounds_in_linear_search branch from fbfc3d2 to bd297f9 Compare August 15, 2025 21:32
@vil02 vil02 marked this pull request as ready for review August 15, 2025 21:39
@realstealthninja realstealthninja merged commit 6393130 into TheAlgorithms:master Aug 16, 2025
7 checks passed
@vil02 vil02 deleted the fix_arrayIndexOutOfBounds_in_linear_search branch August 16, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants